package com.turkline.CatchMePolygon;

public class Paths {
	public int[] levelPathX;
	public int[] levelPathY;
	public int[] levelPathImportantX;
	public int[] levelPathImportantY;
	private World world;
	public Paths(int level , World world) 
	{
		this.world = world;
		defineLevelPath(level);
	}
	public void defineLevelPath(int level) 
	{
		
		switch(level) {
		case 1: 
			levelPathX = new int[] {12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12};
			levelPathY = new int[] { 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 2:
			levelPathX = new int[] {2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29};
			levelPathY = new int[] {5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 3:
			levelPathX = new int[] {7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 9,10,11,12,13,13,13,13,13,13,13,13};
			levelPathY = new int[] {2, 3, 4, 5, 6, 7, 8, 9,10,10,10,10,10,10,10,11,12,13,14,15,16,17};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 4:
			levelPathX = new int[] {2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 9,10,11,12,13,14,15,16,17,18,19,20,20,20,20,21,22,23,24,25,26,27,28,29};
			levelPathY = new int[] {8, 8, 8, 8, 8, 8, 8, 9,10,11,12,13,13,13,13,13,13,13,13,13,13,13,13,13,12,11,10,10,10,10,10,10,10,10,10,10};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 5:
			levelPathX = new int[] {7, 7, 8, 9,10,10,10,10,10,11,12,13,13,13,13,13,12,11,11,11,11,11,11,11};
			levelPathY = new int[] {2, 3, 3, 3, 3, 4, 5, 6, 7, 7, 7, 7, 8, 9,10,11,11,11,12,13,14,15,16,17};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 6:
			levelPathX = new int[] {4, 4, 4, 5, 6, 7, 8, 9,10,10,10,11,12,13,14,14,14,14,14,14,14,14,14,13,12,11,10, 9, 9, 9, 9, 9, 9, 9, 8, 7, 6, 6};
			levelPathY = new int[] {2, 3, 4, 4, 4, 4, 4, 4, 4, 3, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9,10,10,10,10,10,10,11,12,13,14,15,16,16,16,16,17};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 7:
			levelPathX = new int[] { 2, 3, 3, 3, 3, 3, 4, 5, 6, 7, 8, 9,10,10,10,10,10,11,12,13,14,15,16,17,18,19,19,19,20,21,22,23,24,24,24,24,24,24,24,24,24,24,25,26,27,28};
			levelPathY = new int[] { 2, 2, 3, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 8, 9,10,10,10,10,10,10,10,10,10,10, 9, 8, 8, 8, 8, 8, 8, 9,10,11,12,13,14,15,16,17,17,17,17,17};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 8:
			levelPathX = new int[] { 3, 3, 3, 3, 3, 4, 5, 6, 7, 8, 9,10,11,12,12,12,12,12,11,10, 9, 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 5, 4, 3, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,13,13};
			levelPathY = new int[] { 2, 3, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 4, 3, 2, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,13,13,13,13,13,14,15,15,15,15,15,15,15,15,15,15,15,15,16,17};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 9:
			levelPathX = new int[] { 2, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 5, 7, 5, 8, 5, 9, 9,10, 9,11, 9,12,11, 9,13,11,14,11,15,11,11,12,13,14,15,16,16,17,18,19,20,20,20,20,20,20,20,20,20,20,20,20,19,18,17,17,17,17,18,19,20,21,22,23,24,25,26,27,28,29};
			levelPathY = new int[] { 5, 5, 5, 5, 6, 7, 8, 9,10,11,12,13,12,14,12,15,12,16,12,11,12,10,12, 9,12,13, 8,12,14,12,15,12,16,17,17,17,17,17,17,16,16,16,16,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 5, 5, 5, 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
			}
			levelPathImportantX = new int[] { 2, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 8, 9,10,11,11,11,11,11,11,12,13,14,15,16,16,17,18,19,20,20,20,20,20,20,20,20,20,20,20,20,19,18,17,17,17,17,18,19,20,21,22,23,24,25,26,27,28,29};
			levelPathImportantY = new int[] { 5, 5, 5, 5, 6, 7, 8, 9,10,11,12,12,12,12,12,12,12,13,14,15,16,17,17,17,17,17,17,16,16,16,16,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 5, 5, 5, 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2};
			for(int k = 0; k < levelPathImportantX.length; k++) {
				world.totalPath.get(levelPathImportantX[k]).get(levelPathImportantY[k]).isImportantPath = true;
			}
			break;
		case 10:
			levelPathX = new int[] {12,12,12,12,12,12,12,12,11,10, 9, 8, 7, 6, 6, 6, 6, 6, 6, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,22,23,24,25,26,26,26,26,26,26,26,25,24,23,22,21,20,19,18,17,16,16,16,16,16,16,16,16};
			levelPathY = new int[] { 2, 3, 4, 5, 6, 7, 8, 9, 9, 9, 9, 9, 9, 9, 8, 7, 6, 5, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,16,16,16,16,16,16,15,14,13,12,11,10,10,10,10,10,10,10,10,10,10,10,11,12,13,14,15,16,17};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 11:
			levelPathX = new int[] { 2, 3, 4, 5, 5, 5, 5, 5, 5, 5, 6, 7, 8, 9, 9, 9, 9,10,11,12,13,14,14,14,14,14,14,14,14,14,14,13,12,11,10,10,10,10,11,12,13,14,15,16,17,18,18,18,18,18,18,18,18,18,18,18,18,18,17,16,15,14,14,14,14,15,16,17,18,19,20,21,22,23,24,24,24,24,24,24,24,24,25,26,27,27,27,27,27,27};
			levelPathY = new int[] { 5, 5, 5, 5, 6, 7, 8, 9,10,11,11,11,11,11,10, 9, 8, 8, 8, 8, 8, 8, 9,10,11,12,13,14,15,16,17,17,17,17,17,16,15,14,14,14,14,14,14,14,14,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 2, 2, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 8, 9,10,11,12,12,12,12,13,14,15,16,17};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 12:
			levelPathX = new int[] { 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9,10,11,12,13,14,15,16,16,16,16,16,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 3, 3, 3, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,27,27,27,27,27,27,27,27,27,27,28,29};
			levelPathY = new int[] { 3, 3, 3, 3, 3, 3, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,15,15,15,15,15,15,15,15,14,13,12,11,10,10,10,10,10,10,10,10,10,10,10,10,10,10, 9, 8, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 8, 9,10,11,12,13,14,15,16,16,16};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 13:
			levelPathX = new int[] {20,20,20,19,18,17,16,16,16,15,14,13,12,12,12,12,12,12,12,11,10, 9, 8, 8, 8, 8, 8, 8, 8, 7, 6, 5, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,19,19,19,20,21,22,23,24,24,24,24,24,24,24,24,23,22,21,20,19,18,17,16,15,15};
			levelPathY = new int[] { 2, 3, 4, 4, 4, 4, 4, 3, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 7, 6, 5, 4, 3, 2, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,10, 9, 9, 9, 9, 9, 9,10,11,12,13,14,15,16,16,16,16,16,16,16,16,16,16,17};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 14:
			levelPathX = new int[] { 2, 3, 4, 5, 6, 7, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 7, 6, 5, 5, 5, 5, 5, 6, 7, 8, 9,10,11,12,13,13,13,13,13,13,13,13,13,13,13,12,11,10, 9, 9, 9, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,25,25,25,24,23,22,21,20,19,18,18,18,18,18,18,18,18,18,18,18,18,19,20,21,22,23,24,25,26,27,27,27,27,28,29};
			levelPathY = new int[] {16,16,16,16,16,16,16,16,15,14,13,12,11,10, 9, 8, 8, 8, 8, 8, 9,10,11,12,12,12,12,12,12,12,12,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 2, 2, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 3, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,13,13,13,13,13,13,13,13,13,12,11,10,10,10};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 15:
			levelPathX = new int[] { 3, 3, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 6, 5, 4, 3, 2, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,15,15,15,15,15,15,15,15,14,13,12,11,11,11,11,11,12,13,14,15,16,17,18,19,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,25,26,27,27,27,28,27,29,27,30,27,27,27,27,27,27,27,27,28,28,29};
			levelPathY = new int[] { 2, 3, 4, 4, 4, 4, 4, 5, 6, 7, 8, 9,10,10,10,10,10,10,11,12,13,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,14,13,12,11,10, 9, 8, 7, 7, 7, 7, 7, 8, 9,10,11,11,11,11,11,11,11,11,11,11, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18, 6, 6, 6, 6, 7, 8, 8, 9, 8,10, 8,11,12,13,14,15,16,17,18,13,16,13};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
			}
			levelPathImportantX = new int[] { 3, 3, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 6, 5, 4, 3, 2, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,15,15,15,15,15,15,15,15,14,13,12,11,11,11,11,11,12,13,14,15,16,17,18,19,20,21,22,22,22,22,22,22,23,24,25,26,27,27,27,27,27,27,27,27,28,29};
			levelPathImportantY = new int[] { 2, 3, 4, 4, 4, 4, 4, 5, 6, 7, 8, 9,10,10,10,10,10,10,11,12,13,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,14,13,12,11,10, 9, 8, 7, 7, 7, 7, 7, 8, 9,10,11,11,11,11,11,11,11,11,11,11,11, 6, 7, 8, 9,10,11, 6, 6, 6, 6, 6, 7, 8, 9,10,11,12,13,13,13};
			for(int i = 0; i < levelPathImportantX.length; i++) {
				world.totalPath.get(levelPathImportantX[i]).get(levelPathImportantY[i]).isImportantPath = true;
			}
			break;
		case 16:
			levelPathX = new int[] { 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,25,25,25,25,25,25,25,25,25,24,23,22,21,20,19,18,17,17,17,17,17,17,17,18,19,20,21,21,21,21,20,19,18,17,16,15,14,13,12,12,12,12,12,12,12,12,12,12,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,28,28,28,28,28,28,28,28,29};
			levelPathY = new int[] {12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,11,10, 9, 8, 7, 6, 5, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 5, 6, 7, 8, 9, 9, 9, 9, 9, 8, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 8, 9,10,11,12,13,14,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,14,13,12,11,10, 9, 8, 8};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 17:
			levelPathX = new int[] { 3, 3, 3, 3, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,13,13,13,13,12,11,10, 9, 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 5, 4, 3, 2, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,15,15,15,15,15,15,15,14,13,12,11,10,10,10,10,10,11,12,13,14,15,16,17,18,19,19,19,19,19,19,19,19,19,19,20,21,22,23,24,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,25,24,23,22,21,21,21,21,22,23,24,25,26,27,28,29,29,29,29,29};
			levelPathY = new int[] { 2, 3, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 4, 3, 2, 2, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9,10,11,11,11,11,11,11,12,13,14,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,14,13,12,11,10, 9, 9, 9, 9, 9, 9,10,11,12,13,13,13,13,13,13,13,13,13,13,12,11,10, 9, 8, 7, 6, 5, 4, 4, 4, 4, 4, 4, 4, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,18,18,18,18,18,17,16,15,15,15,15,15,15,15,15,15,14,13,12,11};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		case 18:
			levelPathX = new int[] { 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9,10,10,10,10,10,10,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,14,14,14,14,14,14,15,15,15,15,15,15,16,16,16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,18,18,18,19,19,19,19,19,19,20,20,20,20,20,20,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,24,24,24,24,24,24,24,25,25,25,25,25,25,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,29,29,29,29,30,30,30,30,30,30,30,30,30,30,30,29};
			levelPathY = new int[] {10,10,10,10,10,18,17,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 1,14,11, 8, 5,18,14,11, 8, 5, 2,18,14,11, 8, 5, 2,18,14, 2,18,17,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 1,17,11, 8, 4,17,14,11, 8, 4, 1,17,14,11, 8, 4, 1,14, 4, 1,18,17,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 1,16,13, 6,16,13,10, 6, 3, 2,16,13,10, 7, 6, 3,16,10, 3,18,17,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 1,18,10, 7, 1,18,15,12,10, 7, 4, 1,18,15,12, 7, 4, 1,15,12, 7, 4,18,17,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 3, 2, 1,18,15,12, 7, 1,18,15, 7, 1,18,15,10, 9, 8, 7, 5, 4, 3, 2, 1,12};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
			}
			levelPathImportantX = new int[] { 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 8, 9,10,11,12,12,12,12,12,12,12,12,12,12,12,13,14,15,16,17,17,17,17,17,17,17,17,17,17,17,17,17,18,19,20,21,22,22,22,22,22,22,22,22,22,22,23,24,25,26,27,27,27,27,27,27,28,29};
			levelPathImportantY = new int[] {10,10,10,10,10,14,13,12,11,10,14,14,14,14,14,13,12,11,10, 9, 8, 7, 6, 5, 4, 4, 4, 4, 4,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 4,16,16,16,16,16,15,14,13,12,11,10, 9, 8, 7, 7, 7, 7, 7,12,11,10, 9, 8, 7,12,12};
			for(int i = 0; i < levelPathImportantX.length; i++) {
				world.totalPath.get(levelPathImportantX[i]).get(levelPathImportantY[i]).isImportantPath = true;
			}
			break;
		case 19:
			levelPathX = new int[] { 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25, 4, 5, 6, 7, 8, 9,10,11,14,15,16,17,18,19,20,21,21,22,23,24,25,26,27,28, 2, 2, 2, 2, 2, 4, 4, 4, 5, 5, 5, 5, 5, 8, 8, 8, 8, 8,11,11,11,11,11,14,14,14,14,14,14,14,14,14,14,14,17,17,17,17,17,20,20,20,20,20,21,23,23,23,23,23,23,28,28,28,28,28,28,28,28,28,28,28,28,28,28,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29};
			levelPathY = new int[] { 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,13,13,13,13,13,13,13,13,15,15,15,15,15,15,15,15,17,17,17,17,17,17,17,17, 4, 5, 6, 7, 8,10,11,12, 3, 4, 5, 6, 7, 4, 5, 6, 7, 8, 3, 4, 5, 6, 7, 4, 5, 6, 7, 8, 9,10,11,12,13,14, 3, 4, 5, 6, 7, 4, 5, 6, 7, 8,16, 3, 4, 5, 6, 7, 8, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
			}
			levelPathImportantX = new int[] { 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28, 4, 5, 6, 7, 8, 9,10,11,12,13,14, 4, 5, 6, 7, 8, 9,10,11,14,15,16,17,18,19,20,21,21,22,23,24,25,26,27,28, 4, 4, 4,14,14,14,14,14,14,21,28,28,28,28,28,28,28,28,28,28,28,28,28,28,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29};
			levelPathImportantY = new int[] { 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,13,13,13,13,13,13,13,13,15,15,15,15,15,15,15,15,17,17,17,17,17,17,17,17,10,11,12, 9,10,11,12,13,14,16, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12};
			for(int i = 0; i < levelPathImportantX.length; i++) {
				world.totalPath.get(levelPathImportantX[i]).get(levelPathImportantY[i]).isImportantPath = true;
			}
			break;
		case 20:
			levelPathX = new int[] {28,28,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,11,11,11,12,13,14,15,16,16,16,16,16,16,16,16,16,15,14,13,12,11,10, 9, 8, 7, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 3, 2, 2, 2, 2, 2, 3, 4, 5, 6, 7, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,11,12,13,14,15,16,17,17,17,17,17,16,15,14,13,13,13,13,13,13,13,14,15,16,17,18,19,20,20,20,20,20,20,20,20,20,20,20,20,21,22,23,24,25,25,25,25,25,25,25,25,25,25,26,27,28,28,28,28,28,28,28,28,28,29};
			levelPathY = new int[] { 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 2, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 1, 1, 2, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,16,16,16,16,16,16,16,16,15,14,13,12,12,12,12,12,13,14,15,16,17,18,18,18,18,18,18,18,18,17,16,15,14,13,12,11,10, 9, 8, 7, 7, 7, 7, 7, 7, 8, 9,10,11,12,13,14,15,16,16,16,16,15,14,13,12,11,10, 9, 8, 8};
			for(int i = 0; i < levelPathX.length; i++) {
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isPath = true;
				world.totalPath.get(levelPathX[i]).get(levelPathY[i]).isImportantPath = true;
			}
			break;
		}
	}
}